﻿using Dispatcher.Core.Models;
using MiniFox.Infrastructure;
using MiniFox.Resources;
using Newtonsoft.Json;
using System;
using System.ComponentModel.DataAnnotations;

namespace Dispatcher.Core.Mail.Models
{
    /// <summary>
    /// 
    /// </summary>
    public class MailSendRequest : SendRequest
    {
        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "帐户名", ShortName = "帐户名")]
        [Required(ErrorMessageResourceType = typeof(CommonMessages), ErrorMessageResourceName = "MSG_CommonRequired")]
        public string AccountName { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "抄送列表", ShortName = "抄送列表")]
        public string[] CCList { get; set; }
        
        /// <summary>
        /// 附件的文件ID列表
        /// </summary>
        [Display(Name = "附件清单")]
        public string[] Files { get; set; }
    }
}
